\hypertarget{classAprilTags_1_1GLineSegment2D}{}\doxysection{April\+Tags\+::GLine\+Segment2D Class Reference}
\label{classAprilTags_1_1GLineSegment2D}\index{AprilTags::GLineSegment2D@{AprilTags::GLineSegment2D}}


A 2D line with endpoints.  




{\ttfamily \#include $<$GLine\+Segment2\+D.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classAprilTags_1_1GLineSegment2D_a576b9e979a379068887d8d65aa0e48d9}\label{classAprilTags_1_1GLineSegment2D_a576b9e979a379068887d8d65aa0e48d9}} 
{\bfseries GLine\+Segment2D} (const std\+::pair$<$ float, float $>$ \&p0\+Arg, const std\+::pair$<$ float, float $>$ \&p1\+Arg)
\item 
\mbox{\Hypertarget{classAprilTags_1_1GLineSegment2D_a48291f011726b462f79ab2e73c1a7d4a}\label{classAprilTags_1_1GLineSegment2D_a48291f011726b462f79ab2e73c1a7d4a}} 
std\+::pair$<$ float, float $>$ {\bfseries get\+P0} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1GLineSegment2D_a5a6ecd0942d927cac2e24b51dc3ff118}\label{classAprilTags_1_1GLineSegment2D_a5a6ecd0942d927cac2e24b51dc3ff118}} 
std\+::pair$<$ float, float $>$ {\bfseries get\+P1} () const
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classAprilTags_1_1GLineSegment2D_adbe3f766c12f9f4c9d20e3ef7646c35e}\label{classAprilTags_1_1GLineSegment2D_adbe3f766c12f9f4c9d20e3ef7646c35e}} 
static \mbox{\hyperlink{classAprilTags_1_1GLineSegment2D}{GLine\+Segment2D}} {\bfseries lsq\+Fit\+XYW} (const std\+::vector$<$ \mbox{\hyperlink{structAprilTags_1_1XYWeight}{XYWeight}} $>$ \&xyweight)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A 2D line with endpoints. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
calico/third\+\_\+party/apriltags/apriltags/GLine\+Segment2\+D.\+h\item 
calico/third\+\_\+party/apriltags/src/GLine\+Segment2\+D.\+cc\end{DoxyCompactItemize}
